package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallPromoterTrackDao;
import com.appkubes.mall.core.entity.MallPromoterTrack;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallPromoterTrackService extends AbstractBaseService<BaseMallPromoterTrackDao, MallPromoterTrack> {

    MallPromoterTrack getOneByEntity(MallPromoterTrack entity);

    List<MallPromoterTrack> selectListByEntity(MallPromoterTrack entity);

    IPage<MallPromoterTrack> selectPageByEntity(IPage<MallPromoterTrack> page);
    IPage<MallPromoterTrack> selectPageByEntity(PageVO pageVO);

    IPage<MallPromoterTrack> selectPageByEntity(MallPromoterTrack entity, IPage<MallPromoterTrack> page);
    IPage<MallPromoterTrack> selectPageByEntity(MallPromoterTrack entity, PageVO pageVO);

    IPage<MallPromoterTrack> selectPageByEntity(MallPromoterTrack entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallPromoterTrack entity);
}
